package com.example.yiqiuser.service.impl;

import com.example.yiqiuser.dao.OperLogDao;
import com.example.yiqiuser.entity.OperLog;
import com.example.yiqiuser.service.OperLogService;
import com.example.yiqiuser.util.OperLogVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author ：周文达
 * @date ：Created in 2023/4/12 13:51
 * @description：
 * @modified By：
 * @version:
 */
@Service
public class OperLogServiceImpl implements OperLogService {
    @Resource
    private OperLogDao operLogDao;

    @Override
    public int insert(OperLog operLog) {
        return operLogDao.insert(operLog);
    }

    @Override
    public List<OperLogVo> showEchartsByOperLog(String monthDay) {
        return operLogDao.showEchartsByOperLog(monthDay);
    }
}